class WeeklyMailDigestJob {

  static triggers = {
    cronTrigger startDelay: 10000, cronExpression: '10 59 23 ? * SUN'
  }

  def mailNotifierService

  def execute() {
    log.info "Sending Weekly Digest Mail"
    mailNotifierService.sendWeeklyDigest()
  }
}
